﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using anks.Components;

namespace pygs.Security
{
    public class WSSecurity : CustomSecurity
    {
        public string user { get; set; }
        public string password { get; set; }
        public string URI { get; set; }

        public WSSecurity()
            : base()
        {
        }

        public WSSecurity(string user, string password, string URI): base()
        {
            this.user = user;
            this.password = password;
            this.URI = URI;
        }

        public override void AssignParams(ComponentParams componentParams)
        {
            this.user = componentParams.ParamAsString("user");
            this.password = componentParams.ParamAsString("password");
            this.URI = componentParams.ParamAsString("URI");
        }

        public override bool Register(out string securityToken)
        {
            throw new NotImplementedException();
        }

        public override bool IsRegistered()
        {
            throw new NotImplementedException();
        }

        public override bool Unregister(string securityToken)
        {
            throw new NotImplementedException();
        }
    }
}
